home *** CD-ROM | disk | FTP | other *** search
- -- card: 14744 from stack: in
- -- bmap block id: 90377
- -- flags: 0000
- -- background id: 2629
- -- name: exercise5
- ----- HyperTalk script -----
- on opencard
- put "Card "&the number of me into field "Card number"
- end opencard
-
- on closecard
- put "" into card field "Ports" -- hidden field
- repeat with i=7 to 12
- send "Lineup" to btn i
- end repeat
- end closecard
-
- on Checkall
- repeat with i=1 to 6
- if line i of card field "Ports" <> "yes" then exit checkall
- end repeat
- play "Big win"
- repeat with i=1 to 15
- set highlite of card button 7 to not highlite of card btn 7
- set highlite of card button 8 to not highlite of card btn 8
- set highlite of card button 9 to not highlite of card btn 9
- set highlite of card button 10 to not highlite of card btn 10
- set highlite of card button 11 to not highlite of card btn 11
- set highlite of card button 12 to not highlite of card btn 12
- end repeat
- clearbuttons
- put "Yes" into line 5 of card field "Exam" of card "TOC"
- end checkall
-
-
- -- part 17 (field)
- -- low flags: 81
- -- high flags: 0000
- -- rect: left=353 top=179 right=301 bottom=385
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 156
- -- text size: 14
- -- style flags: 0
- -- line height: 18
- -- part name: ports
-
-
- -- part 12 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=212 top=266 right=284 bottom=240
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Serial target
-
-
- -- part 13 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=238 top=265 right=284 bottom=256
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: sound target
-
-
- -- part 14 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=254 top=265 right=284 bottom=289
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: ADB target
-
-
- -- part 10 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=149 top=266 right=284 bottom=181
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: SCSI target
-
-
- -- part 11 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=177 top=266 right=284 bottom=209
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: video target
-
-
- -- part 9 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=125 top=266 right=284 bottom=155
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Floppy target
-
-
- -- part 3 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=350 top=234 right=252 bottom=378
- -- title width / last selected line: 0
- -- icon id / first selected line: 25625 / 25625
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Floppy
- ----- HyperTalk script -----
- on mousestilldown
- set loc of me to the mouseloc
- end mousestilldown
-
- on mouseup
- if the loc of me is within the rect of button "Floppy Target"
- then
- set the loc of me to 141,275
- put "yes" into line 4 of card field "ports"
- repeat with i = 1 to 50
- set the highlite of me to not the highlite of me
- end repeat
- checkall
- else
- set the loc of me to 364,243
- end if
- end mouseup
-
- On lineup
- set loc of me to 364,243
- end lineup
-
-
- -- part 4 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=348 top=197 right=221 bottom=380
- -- title width / last selected line: 0
- -- icon id / first selected line: 23702 / 23702
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: SCSI
- ----- HyperTalk script -----
- on mousestilldown
- set loc of me to the mouseloc
- end mousestilldown
-
- on mouseup
- if the loc of me is within the rect of button "SCSI Target"
- then
- set loc of me to 173,275
- put "yes" into line 2 of card field "ports"
- repeat with i = 1 to 50
- set the highlite of me to not the highlite of me
- end repeat
- checkall
- else
- set the loc of me to 364,209
- end if
- end mouseup
-
- On lineup
- set loc of me to 364,209
- end lineup
-
-
- -- part 5 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=351 top=251 right=271 bottom=377
- -- title width / last selected line: 0
- -- icon id / first selected line: 5792 / 5792
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Video
- ----- HyperTalk script -----
- on mousestilldown
- set loc of me to the mouseloc
- end mousestilldown
-
- on mouseup
- if the loc of me is within the rect of button "Video Target"
- then
- set loc of me to 205,275
- put "yes" into line 5 of card field "ports"
- repeat with i = 1 to 50
- set the highlite of me to not the highlite of me
- end repeat
- checkall
- else
- set the loc of me to 364,261
- end if
- end mouseup
-
- On lineup
- set loc of me to 364,261
- end lineup
-
-
- -- part 6 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=351 top=272 right=290 bottom=378
- -- title width / last selected line: 0
- -- icon id / first selected line: 12128 / 12128
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Serial
- ----- HyperTalk script -----
- on mousestilldown
- set loc of me to the mouseloc
- end mousestilldown
-
- on mouseup
- if the rect of me is within the rect of button "Serial Target"
- then
- set loc of me to 233,275
- put "yes" into line 6 of card field "ports"
- repeat with i = 1 to 50
- set the highlite of me to not the highlite of me
- end repeat
- checkall
- else
- set the loc of me to 364,281
- end if
- end mouseup
-
- On lineup
- set loc of me to 364,281
- end lineup
-
-
- -- part 7 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=357 top=179 right=197 bottom=372
- -- title width / last selected line: 0
- -- icon id / first selected line: 3797 / 3797
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Sound
- ----- HyperTalk script -----
- on mousestilldown
- set loc of me to the mouseloc
- end mousestilldown
-
- on mouseup
- if the rect of me is within the rect of button "Sound Target"
- then
- set loc of me to 253,274
- put "yes" into line 1 of card field "ports"
- repeat with i = 1 to 50
- set the highlite of me to not the highlite of me
- end repeat
- checkall
- else
- set the loc of me to 364,188
- end if
- end mouseup
-
- On lineup
- set loc of me to 364,188
- end lineup
-
-
- -- part 8 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=351 top=217 right=234 bottom=378
- -- title width / last selected line: 0
- -- icon id / first selected line: 25491 / 25491
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: ADB
- ----- HyperTalk script -----
- on mousestilldown
- set loc of me to the mouseloc
- end mousestilldown
-
- on mouseup
- if the rect of me is within the rect of button "ADB Target"
- then
- set loc of me to 272,275
- put "yes" into line 3 of card field "ports"
- repeat with i = 1 to 50
- set the highlite of me to not the highlite of me
- end repeat
- checkall
- else
- set the loc of me to 364,225
- end if
- end mouseup
-
- On lineup
- set loc of me to 364,225
- end lineup
-
-
- -- part 15 (field)
- -- low flags: 01
- -- high flags: 0000
- -- rect: left=388 top=179 right=301 bottom=473
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 156
- -- text size: 14
- -- style flags: 0
- -- line height: 18
- -- part name:
-
-
- -- part 18 (field)
- -- low flags: 01
- -- high flags: 2000
- -- rect: left=289 top=122 right=165 bottom=487
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 157
- -- text size: 14
- -- style flags: 0
- -- line height: 18
- -- part name: Comments
-
-
- -- part contents for background part 18
- ----- text -----
- Card 209
-
- -- part contents for background part 12
- ----- text -----
- Apple Macintosh IIci
-
- -- part contents for background part 4
- ----- text -----
- Evaluation Exercises
-
- -- part contents for background part 20
- ----- text -----
- Below is a picture of the back panel of the Macintosh IIci and the ports that are on it.
-
-
-
-
- -- part contents for background part 14
- ----- text -----
- exercise5
-
- -- part contents for background part 21
- ----- text -----
- Product knowledge — Exercise 5
-
- -- part contents for card part 15
- ----- text -----
- Sound port
- SCSI port
- ADB ports
- Floppy port
- Video port
- Serial ports
-
- -- part contents for card part 18
- ----- text -----
- Drag the ports to their proper places on the back panel.